home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-04 | 2.4 KB | 62 lines | [TEXT/EDIT] |
- Another old C source, "brought back from the dead,"
- by Kenneth A. Long, at itty bitty bytes™.
-
- Original source in Megamax C v.2 by Ron Hitchens, 13 September
- 1985.
-
- There are two programs here. One builds the 'stringnums.c' file,
- by recursivly tapping from 12 available functions to create values,
- and writing them in the file. This program is more or less a
- table compiler. Interesting in and of itself. The more interesting
- of the two.
-
- The other program is the StringArt project. It draws random sets
- of lines, based on the table it accesses. Kinda slow. Maybe
- there's a delay call I didn't spot. Lots slower than many
- screenSaver type programs, including FlyingLine.
-
- The StringArt thing is nothing special. Everybody, their brother,
- their sister and maybe even their Grandma may have put out some sort
- of screen saver. (I like Polygondrian :)
-
- Enjoy!
-
- kenlong@netcom.com
- kenlong@aol.com
-
- --------------------------Original info-------------------------->
-
- (1985)
- Here's the source to Stringart which I promised a few weeks ago.
-
- I've been swamped doing real work and just haven't gotten around
- to it until now. I received quite a few requests for this so I'm
- posting it rather than sending individual copies to people. I
- spent quite a bit of time adding profuse comments so that
- MacBeginners can see what's necessary for a minimal application in
- C on the Mac.
-
- This code is functionally the same as the object code I posted a
- few weeks ago, except that a few things have been robustified and
- it will now use the entire screen if running on a Lisa. If anyone
- wants this new version to run on a Lisa but doesn't have MegaMax
- to compile it with I'll be happy to send them a binhex'd copy. To
- help relieve net congestion I won't repost the object code.
- This code was prepared with Megamax C version 2.
-
- As far as I know there is no reason why it shouldn't work with
- version 1 also, but I haven't tried it. There are two programs
- here. One generates a third C source file which declares the
- tables of numbers used to draw the vectors. This file and the
- stringart program itself are linked together to produce the
- application. Compilation instructions are in the comments in the
- stringart.c source.
-
- Feel free to distribute this thing far and wide. Perhaps
- someone could post it on CompuServe. I'd be glad to hear any
- comments about StringArt.
-
- Ron Hitchens
-
- hitchens@ut-sally.ARPA ...!ihnp4!ut-sally!hitchens.UUCP
-